package translate;

import temp.Label;
import tree.BasicStm;
import tree.CJUMP;

public class RelCx extends Cx {
	int relCode;
	Exp left, right;
	
	public RelCx(Exp l, Exp r, int rc) {
		super();
		left = l; right = r; relCode = rc; 
	}
	
	BasicStm unCx(Label t, Label f) {
		return new CJUMP(relCode, left.unEx(), right.unEx(), t, f);
	}
}
